from django.urls import path, include
from rest_framework.routers import DefaultRouter
from .views import GraphNeo4jView
from .views_patent import GraphNeo4jPatentView

#urlpatterns = [
#    path(r'', GraphNeo4jView.as_view({'get': 'list'})),
#]

router = DefaultRouter()
router.register(r'', GraphNeo4jView, basename='graphNeo4j')
router.register(r'patent', GraphNeo4jPatentView, basename='graphNeo4jPatent')
urlpatterns = router.urls
